package com.expense.common.dao.auth;

import com.expense.common.model.auth.AdminMenu;
import com.expense.common.config.BaseDao;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

@SqlResource("auth.adminMenu")
public interface AdminMenuDao extends BaseDao<AdminMenu> {

    List<AdminMenu> sample();

    List<AdminMenu> findList();

    AdminMenu findByCode(String code);
    List<AdminMenu> loadChildren(String code);
}
